<?php


class Framework_DB_Table_InterestsInfo extends Framework_DB_Table_Common {

	public $tableName = 'InterestsInfo';
	
	public function __construct($db) {
   		
   		// Columns
   		$this->col = array(
	   		// Primary Key 1
	        'idOwner'     => array(
	            'type'    => 'integer',
	            'require' => true
	        ),
	        
	        // Primary Key 2
	        'privacy'     => array(
	            'type'    => 'integer',
	            'require' => true
	        ),
	        
	        
	        'bookInterests' => array(
	            'type'    => 'clob',
	            
	            // form element definition
	            'qf_label' => 'Book Interests: ',
	            'qf_type'  => 'textarea'
	        ),
	        
	       'musicInterests' => array(
	            'type'    => 'clob',
	            
	            // form element definition
	            'qf_label' => 'Music Interests: ',
	            'qf_type'  => 'textarea'
	       ),
	       
	     
	       'movieAndTvInterests' => array(
	            'type'    => 'clob',
	            
	            // form element definition
	            'qf_label' => 'Movie and TV Interests: ',
	            'qf_type'  => 'textarea'
	        ),
	        
	        'gamingInterests'  => array(
	            'type'    => 'clob',
	            
	            // form element definition
	            'qf_label' => 'Gaming Interests: ',
	            'qf_type'  => 'textarea'
	        ),
	        
	        'generalInterests' => array(
	            'type'    => 'clob',
	            
	            // form element definition
	            'qf_label' => 'General Interests: ',
	            'qf_type'  => 'textarea'
	       ),
	        
	            
	       
			
	         

	        
	    );
	    
	    // Indexes
	    $this->idx = array(
	    	'idOwnerPrivacy' => array(
	    		'cols' => array('idOwner', 'privacy'), 
	    		'type' => 'primary'
			)
	   );
   		
   		parent::__construct($db);
   }
	
	
}

?>